package com.qumitech.visualnovel.service.retain;

import com.qumitech.visualnovel.model.common.BaseRsp;
import com.qumitech.visualnovel.controller.vo.retain.RetainConfigVO;
import com.qumitech.visualnovel.pubdef.dto.retain.RetainConfigDTO;

import java.util.HashMap;
import java.util.List;

public interface RetainConfigService {

    List<RetainConfigVO> listRetainConfig(String name, String grouping, Integer status, String createTime, String orderBy, String orderType, int offset, int limit);

    int countRetainConfig(String name, String grouping, Integer status, String createTime);

    BaseRsp updateRetainConfig(RetainConfigDTO retainConfigDTO);

    void deleteRetainConfig(Integer id);

    void ModifyRetainConfigStatus(RetainConfigDTO retainConfigDTO);

    List<HashMap<String, Object>> listRetainGroupings();

}
